package com.kfm.pm;

public class GFTest {

    public static void main(String[] args) {

        GirlFriend gf = new GirlFriend();
        try {
            gf.setAge(15);
        } catch (AgeIllegalException e) {
            System.out.println(e.getMessage());
        }
        gf.setName("迪丽热巴");
        gf.setWeight(45.5);
        System.out.println(gf);

    }
}
